package com.fire.dao;

import com.fire.domain.Student;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

public interface IStudentDao {
    void add(Student student);
    void delete(String id) throws IOException;
    void update(String id,Student student) throws IOException;
    ArrayList<Student> findAll();             //无参数有返回值
    int getIndex(String id);                 //根据条件查询,找索引
    ArrayList<Integer> getfind() throws IOException;
    HashMap<Integer,ArrayList<Student>>  getGroup() throws IOException;
//    ArrayList<Student> getReader() throws IOException;
    void daochu();
    ArrayList<Student> daoru();
}
